package cn.tedu.front.job.service;

import cn.tedu.common.pojo.authentication.CurrentPrincipal;
import cn.tedu.common.pojo.po.UserStatePO;
import cn.tedu.common.pojo.vo.PageData;
import cn.tedu.front.job.pojo.dto.PositionAddNewParam;
import cn.tedu.front.job.pojo.dto.PositionUpdateInfoParam;
import cn.tedu.front.job.pojo.vo.PositionDetailVO;
import cn.tedu.zhaopin.protocol.position.vo.PositionSimpleVO;
import org.apache.catalina.User;

public interface IPositionService {
    void addNew(Long userId, PositionAddNewParam positionAddNewParam);

    void updateInfoById(CurrentPrincipal currentPrincipal, Long id, PositionUpdateInfoParam positionUpdateInfoParam);

    void deleteById(Long id);

    PositionDetailVO getStandardById(Long id);

    PageData<PositionSimpleVO> list(Long userId, Integer pageNum, Integer pageSize);

    void rebuildSearch();
}
